var dom = document.getElementById("main");
var myChart = echarts.init(dom);
option = {
    title: {
        text: '24h手机使用情况'
    },
    tooltip: {},
    
    radar: [
        {
            indicator: [
                {text: '0~4', max: 100},
                {text: '4~8', max: 100},
                {text: '8~12', max: 100},
                {text: '12~16', max: 100},
                {text: '16~20', max: 100},
                {text: '20~24', max: 100}
            ],
            radius: 100,
            center: ['60%','60%'],
            name: {
                textStyle: {
                    color:'#000'
                }
            },
        },
    ],
    series: [
            {
            type: 'radar',
            data: [
                {
                    value: [4,12,55,50,52,49],
                    name: '手机使用情况'
                }
            ]
        },
    ]
};
myChart.setOption(option, true);